
/*  Navbar */
#navbar-container{
    margin-bottom: 0;
}

/*  Contenido inicio  */
.txtInicio{
    position: static;
}

.txtInicio h1{
    color: #056586;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Newsreader;
    font-size: 80px;
    margin-left: 10%;
    margin-top: 5%;
}

.txtInicio p{
    color: #060606;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Inika;
    font-size: 20px;
    margin-left: 10%;
    margin-right: 55%;
}

.btnInicio{
    position: static;
    margin-left: 10%;
}

.btnInicio button{
    padding: 15px 45px;
    border-radius: 12px;
    background: linear-gradient(90deg, #0681a0 60%, #0fbb3a 100%);
    border: none;
    box-shadow: 0 6px 24px 0 rgba(66, 107, 31, 0.18), 0 1.5px 4px 0 rgba(0,0,0,0.10);
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 1px;
    transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btnInicio button::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 100%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: 0;
}

.btnInicio button:hover::after {
    width: 300%;
    height: 300%;
}

.btnInicio button:hover{
    background: linear-gradient(90deg, #069b2b 10%, #0975bd 60%);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 32px 0 rgba(66, 107, 31, 0.22), 0 2px 8px 0 rgba(0,0,0,0.12);
}

.ftrInicio{
    position: relative;
    background: #056586;
    width: 100%;
    height: 95px;
    margin-top: 1%;
}

.imgSistema{
    position: static;
    margin-left: 11%;
    margin-top: 0%;
}
.imgSistema img{
    width: 30%;
}
.imgDistribuidor{
    position: static;
    margin-top: -3.5%;
    margin-bottom: -5%;
    margin-left: 1%
}

.imgDistribuidor img{
    width: 10%;
}

.ctr-crl {
    position: static;
    margin-top: -15.5%;
    margin-left: 47%;
    width: 50%;
    height: auto;
    border-radius: 18px;
    z-index: 1;
    background: #fff;
    box-shadow: 0 8px 32px 0 rgba(255, 255, 255, 0), 0 1.5px 4px 0 rgba(0,0,0,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.crl {
    overflow: hidden;
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 18px;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
}

.crl-inner {
    display: flex;
    transition: transform 0.6s cubic-bezier(.77,0,.18,1);
    height: 100%;
}

.crl-item {
    min-width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 0.5rem;
}

.crl-item img {
    border-radius: 14px;
    box-shadow: 0 4px 24px 0 rgba(5, 101, 134, 0.10);
    width: 95%;
    height: 90%;
    object-fit: cover;
    padding: 0.7rem;
    transition: transform 0.4s cubic-bezier(.77,0,.18,1), box-shadow 0.3s;
    max-width: 100%;
    max-height: 100%;
}

.crl-item img:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 32px 0 rgba(13, 195, 255, 0.18), 0 2px 8px 0 rgba(51, 148, 204, 0.18);
}

.crl-selector {
    display: flex;
    justify-content: center;
    margin: 18px 0 10px 0;
    gap: 10px;
}

.selector-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #b2e4f7 0%, #05668686 100%);
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(5, 101, 134, 0.08);
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.selector-dot.active {
    background: linear-gradient(135deg, #056586 60%, #0fbb3a 100%);
    transform: scale(1.2);
    border-color: #056586;
}

/* Responsive Carousel */
@media (max-width: 1100px) {



    .ctr-crl {
        margin-left: 0;
        width: 80%;
        height: 40%;
        margin-top: 2rem;
    }
    
}

@media (max-width: 900px) {
    
    .ctr-crl {
        margin-left: 0;
        width: 98%;
        height: 40%;
        margin-top: 1.5rem;
    }
  
}

@media (max-width: 700px) {

    #navbar-container{
        margin-bottom: -20%;
    }

    .ctr-crl {
        width: 100%;
        height: 40%;
        margin-top: 5rem;
        border-radius: 10px;
    }
  
   
    
}

@media (max-width: 540px) {
    .ctr-crl {
        width: 100%;
        height: 40%;
        margin-top: 0.5rem;
        border-radius: 8px;
    }
    
}

/*  Contenido ASPEL  */

#contentAspel{
    width: 100%;
    position: static;
    margin-top: 3%;
}

/*  Texto ASPEL */
.txtAspel{
    text-align: center;
    color: #056586;
    font-size: 30px;
}

.txtContent{
    font-size: 22px;
    text-align: center;
    margin-left: 5%;
    margin-right: 5%;
}

#serv-text{
    text-align: center;
}

/*  Tarjetas ASPEL */
.cards {
    max-width: 1200px;
    margin: 0 auto 4% auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5%;
}



.cards_item:hover .cards_item_title {
    color: white;
}

.cards_item:hover .cards_item_description {
    color: #fff;
}

.cards_item:hover a {
    color: #fff;
}

.cards a{
    color: #056586;
    text-decoration: none;
    transition: color 0.2s;
}

.cards_item {
    border-radius: 18px;
    box-shadow: 0 4px 24px 0 rgba(5, 101, 134, 0.10), 0 1.5px 4px 0 rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0;
    width: 22%;
    min-width: 260px;
    margin-top: 2%;
    margin-bottom: 2%;
    padding: 32px 20px 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.18s, box-shadow 0.18s;
    position: relative;
    overflow: hidden;
}

.cards_item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px 0 rgba(13, 195, 255, 0.18), 0 2px 8px 0 rgba(51, 148, 204, 0.493);
    border-color: #056586;
}

.cards_item_title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #056586;
    margin-bottom: 18px;
    margin-top: 0;
    letter-spacing: 0.5px;
}

.cards_item_title:hover {
    color: #ffffff;
    text-decoration: none;
}

.cards_item_description {
    font-size: 1.05rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 22px;
    min-height: 60px;
}

.ctn-aspel button {
    padding: 10px 22px;
    border-radius: 8px;
    border: none;
    box-shadow: 0px 4px 12px 0px rgba(5, 101, 134, 0.10);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1%;
    background: linear-gradient(90deg, #056586 60%, #0fbb3a 100%);
    transition: background 0.3s, transform 0.18s;
    cursor: pointer;
    outline: none;
    position: relative;
    z-index: 1;
}

.ctn-aspel button:hover {
    background: linear-gradient(90deg, #069b2b 10%, #0975bd 60%);
    transform: translateY(-2px) scale(1.04);
}

.cards_item_icon {
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #056586;
    box-shadow: 0 2px 8px 0 rgba(5, 101, 134, 0.08);
}

/* Responsive */
@media (max-width: 1100px) {
    .cards_item {
        width: 45%;
        min-width: 240px;
    }
}

@media (max-width: 800px) {
    .cards {
        gap: 3%;
    }
    .cards_item {
        width: 90%;
        min-width: 180px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 540px) {
    .cards {
        flex-direction: column;
        gap: 18px;
        max-width: 98vw;
    }
    .cards_item {
        width: 98%;
        min-width: unset;
        padding: 22px 8px 18px 8px;
    }
    .cards_item_title {
        font-size: 1.1rem;
    }
    .cards_item_description {
        font-size: 0.98rem;
        min-height: unset;
    }
    .ctn-aspel button {
        font-size: 0.98rem;
        padding: 9px 14px;
    }
}

/* Hover ASPEL */
#card_one {
    border-top: 5px solid #ea0029;
}

#card_two {
    border-top: 5px solid #ff8300;
}

#card_three {
    border-top: 5px solid #93d500;
}
#card_four {
    border-top: 5px solid #00ACD8;
}

#card_one:hover {
    background: #ea0029;
    background-image: url('');
    color: white;
}

#card_one .img-hover {
  display: none;
  
}

#card_one:hover .img-default {
  display: none;
}

#card_one:hover .img-hover {
  display: block;
  
}

#card_two .img-hover {
  display: none;
}

#card_two:hover .img-default {
  display: none;
}

#card_two:hover .img-hover {
  display: block;
}

#card_three .img-hover {
  display: none;
}

#card_three:hover .img-default {
  display: none;
}

#card_three:hover .img-hover {
  display: block;
}

#card_four .img-hover {
  display: none;
}

#card_four:hover .img-default {
  display: none;
}

#card_four:hover .img-hover {
  display: block;
}

#card_two:hover {
    background: #ff8300;
}

#card_two:hover .cards_item_title {
    color: white;
}
#card_three:hover {
    background: #93d500;
    color: white;
}
#card_four:hover {
    background: #00ACD8;
    color: white;
}

/* Contenedor servicios */
.ctn-servicios {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 1rem;
  width: 100%;
  box-sizing: border-box;
}

/* TarjetaS */
.ctn-servicios span {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  max-width: 280px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ctn-servicios span:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.ctn-serv {
  height: 160px;
  background: linear-gradient(135deg, #e0f3e0, #cde0cd);
  border-radius: 12px 12px 0 0;
  background-size: cover;
  background-position: center;
}

/* Texto  */
.txt-serv {
  padding: 1rem;
  text-align: center;
}

.txt-serv p {
  font-size: 1rem;
  color: #333;
  margin: 0.5rem 0;
}

.ctn-servicios button {
  background: none;
  border: none;
  color: #426B1F;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.ctn-servicios button:hover {
  color: #0f1cd3;
}

.btn-servicios-container {
  text-align: center;
  margin-top: 2rem;
}

#btn-service {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  background: linear-gradient(90deg, #0975bd 10%, #069b2b 60%);
  border: none;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
  cursor: pointer;
}

#btn-service:hover {
  background: linear-gradient(90deg, #069b2b 10%, #0975bd 60%);
  transform: translateY(-2px) scale(1.03);
}

/* Responsive */
@media (max-width: 768px) {
  .ctn-servicios span {
    max-width: 90%;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
    
  .ctn-servicios span {
    max-width: 45%;
  }
}

.ctr-crl{
       margin-bottom: 5%; 
    }
Slider Clientes Mejorado

.slider {
    width: 100vw;
    max-width: 100%;
    margin: 0 auto 2rem auto;
    overflow: hidden;
    background: #f8fafb;
    padding: 24px 0;
    position: relative;
    box-sizing: border-box;
}

.slider .slide-track {
    display: flex;
    align-items: center;
    gap: 48px;
    animation: scroll 40s linear infinite;
    width: calc((300px + 80px) * 44); /* 16 = number of slides, adjust as needed */
    min-width: 100%;
}

.slider .slide {
    width: 220px;
    flex: 0 0 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
    filter: grayscale(100%);
    opacity: 0.7;
}

.slider .slide:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.08);
    z-index: 2;
}

.slider .slide img {
    width: 160px;
    max-width: 90%;
    height: auto;
    object-fit: contain;
    transition: filter 0.3s, opacity 0.3s, transform 0.3s;
    display: block;
    margin: 0 auto;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {        
        transform: translateX(calc(-268px * 8)); 
    }
}

/* Slider Responsive */

@media (min-width: 1200px) {
@media (max-width: 1300px) {

    .txtInicio h1{
        margin-top: -8%;
    }

    .ctr-crl{
       margin-top: -20%;
       margin-left: 55%;
       width: 40%;
       height: auto; 
    }
    }
}

@media (max-width: 900px) {
@media (max-width: 900px) {

    
    .ctr-crl{
       margin-bottom: 5%; 
    }
    .slider .slide-track {
        gap: 32px;
        width: calc((100px + 32px) * 16); 
        min-width: 100%;
    }
    .slider .slide,
    .slider .slide img {
        width: 100px;
        max-width: 80%;
    }
}
@media (max-width: 600px) {
@media (max-width: 600px) {
    .slider {
        padding: 12px 0;
    }
    .slider .slide-track {
        gap: 18px;
        width: calc((60px + 18px) * 16); 
        min-width: 100%;
    }
    .slider .slide,
    .slider .slide img {
        width: 60px;
        max-width: 70%;
    }
} 
#footer-container {
    margin-top: 5%;
    margin-right: 0.9%;
}

@media only screen and (min-width:1550px) {

    .ctr-crl{
        position: static;
        margin-bottom: 15%;
        margin-left: 45%;
        width: 42%;
        height: 232px;
    }

    #navbar-container{
        margin-bottom: 12%;
    }

    .txt-serv{
        margin-top: 20%;
    }
}

@media only screen and (max-width:540px) {  /* Txt Inicio */

    .txtInicio{
        margin-top: 35%;
        margin-left: 0px;
        margin-right: 0px;
        text-align: center;

    }
    .txtInicio h1{
        font-size: 40px;
        text-align: center;
        margin-left: 0px;
        margin-right: 0px;
        margin-top: -30%;
    }
    .txtInicio p{
        font-size: 18px;
        margin-left: 10px;
        margin-right: 2%;
        text-align: center;
    }

    .btnInicio{
        margin-left:0%;
        text-align: center;
    }

    .ctr-crl{
        position: static;
        margin-top: 5%;
        margin-bottom: 15%;
        margin-left: 2%;
        width: 95%;
        height: auto;
    }

    .crl-inner img{
        width: 100%;
    }

    .imgSistema{
        position: static;
        margin-left: 22%;
        margin-top: -9%;
    }
    .imgSistema img{
        width: 60%;
    }

    .imgDistribuidor img{
        width: 20%;
    }

    #imgCtnServ{
        margin-top: 5%;
        border-top: 3px solid #fff;
    }

    .txtAspel{
        font-size: 20px;
        margin-left: 5%;
        margin-right: 5%;
    }

    .txtContent{
        font-size: 16px;
        text-align: justify;
    }

    /* Tarjetas ASPEL*/

    .cards_item, .ctn-servicios span {
        margin-bottom: 5%;
        width:70%;
    }

    .ctn-aspel button, .ctn-servicios button{
        margin-bottom: 4%;
    }

    .ctn-servicios span:hover{
        width: 70%;
        transition: 0.5s;
    }
    .ctn-servicios span::after{
        transition: 0.5s;
    }

}

@media only screen and (min-width: 541px) and (max-width: 819px) {

    .txtInicio{
        margin-top: 20%;
        margin-left: 0px;
        margin-right: 0px;
        text-align: center;

    }
    .txtInicio h1{
        font-size: 40px;
        text-align: center;
        margin-left: 0px;
        margin-right: 0px;
        
    }
    .txtInicio p{
        font-size: 14px;
        margin-left: 10px;
        margin-right: 2%;
        text-align: center;
    }

    .btnInicio{
        margin-left:0%;
        text-align: center;
    }

    .ctr-crl{
        position: static;
        margin-top: 5%;
        margin-bottom: 30%;
        margin-left: 6%;
        width: 90%;
        height: auto;
    }

    .crl-inner img{
        width: 100%;
    }

    .imgSistema{
        position: static;
        margin-left: 22%;
        margin-top: -9%;
    }
    .imgSistema img{
        width: 60%;
    }

    .imgDistribuidor img{
        width: 20%;
    }

    .txtAspel{
        font-size: 20px;
        margin-left: 5%;
        margin-right: 5%;
    }

    .txtContent{
        font-size: 16px;
        text-align: justify;
    }

    .cards_item, .ctn-servicios span {
        margin-bottom: 5%;
        width:70%;
    }

    span.cursos, span.analisis, span.polizas{
        width: 35%;
    }

    .ctn-aspel button, .ctn-servicios button{
        margin-bottom: 4%;
    }

    .ctn-servicios span:hover{
        width: 35%;
        transition: 0.5s;
    }
    .ctn-servicios span::after{
        transition: 0.5s;
    }
}

@media only screen and (min-width: 820px) and (max-width: 1090px) {

    .txtInicio{
        margin-top: 15%;
        margin-left: 0px;
        margin-right: 0px;
        text-align: center;

    }
    .txtInicio h1{
        
        font-size: 40px;
        text-align: center;
        margin-left: 0px;
        margin-right: 0px;        
    }
    .txtInicio p{
        font-size: 14px;
        margin-left: 10px;
        margin-right: 2%;
        text-align: center;
    }

    .btnInicio{
        margin-left:0%;
        text-align: center;
    }

    .ctr-crl{
        position: static;
        margin-top: 5%;
        margin-bottom: 59%;
        margin-left: 6%;
        width: 90%;
        height: 35px;
    }

    .crl-inner img{
        width: 100%;
    }

    .imgSistema{
        position: static;
        margin-left: 22%;
        margin-top: -9%;
    }
    .imgSistema img{
        width: 60%;
    }

    .imgDistribuidor img{
        width: 20%;
    }

    .txtAspel{
        font-size: 20px;
        margin-left: 5%;
        margin-right: 5%;
    }

    .txtContent{
        font-size: 16px;
        text-align: justify;
    }

    /* Tarjetas ASPEL*/

    .cards_item, .ctn-servicios span {
        margin-bottom: 5%;
        width: 40%;
    }

    span.cursos, span.analisis, span.polizas{
        width: 30%;
    }

    .ctn-aspel button, .ctn-servicios button{
        margin-bottom: 4%;
    }

    .ctn-servicios span:hover{
        width: 30%;
        transition: 0.5s;
    }
    .ctn-servicios span::after{
        transition: 0.5s;
    }

}
@media only screen and (min-width: 1091px) and (max-width: 1300px) {

    /* Txt Inicio */

    .txtInicio{
        margin-top: 10%;
        margin-left: 0px;
        margin-right: 0px;
        text-align: center;

    }
    .txtInicio h1{
        font-size: 40px;
        text-align: center;
        margin-left: 0px;
        margin-right: 0px;
    }
    .txtInicio p{
        font-size: 14px;
        margin-left: 10px;
        margin-right: 2%;
        text-align: center;
    }

    .btnInicio{
        margin-left:0%;
        text-align: center;
    }

    .ctr-crl{
        position: static;
        margin-top: 5%;
        margin-bottom: 59%;
        margin-left: 6%;
        width: 90%;
        height: 35px;
    }

    .crl-inner img{
        width: 100%;
    }

    .imgSistema{
        position: static;
        margin-left: 22%;
        margin-top: -9%;
    }
    .imgSistema img{
        width: 60%;
    }

    .imgDistribuidor img{
        width: 20%;
    }

}

}
}